<template>
  <div class="yingmoo-store">
    <ul class="nav">
      <router-link tag="li" to="/ymMemberstore">媒体管理</router-link>
      <router-link tag="li" to="/ymMemberstorecomboaddsubmit">套餐管理</router-link>
      <router-link tag="li" to="/ymMembermysubmitactivity">我的活动</router-link>
      <router-link tag="li" to="/ymMembersubmitmycase">我的案例</router-link>
      <router-link tag="div" to="/ymMemberaddmycase" class="uploading">添加案例</router-link>
    </ul>
    <div class="error">
      <p>
        您还没有添加过任何案例哦，快点击右上角按钮“添加案例”
      </p>
      <img src="../assets/ym-member/arrows.png" class="arrows" />
    </div>
  </div>
</template>

<script>
export default {
  name: "yingmoo-store",
  data(){
  	return{
  		user:{}
  	}
  },
  mounted(){
    	this.getUserInfo();
    },
	methods:{
		getUserInfo:function(){
  		this.user = JSON.parse(localStorage.getItem("user"));
  	}
  }
}
</script>

<style scoped lang="less">
.yingmoo-store{
  width: 100%;
  .nav{
    width: 1200px;
    height: 46px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background-color: #f2f2f2;
    margin-top: 20px;
    li{
      list-style: none;
      width: 90px;
      height: 30px;
      margin: 0 20px;
      line-height: 30px;
      color: #666666;
      text-align: center;
      font-size: 16px;
      cursor: pointer;
      &:hover{
        background-color: #036eb7;
        color: white;
      }
      &:nth-child(4){
        background-color: #036eb7;
        color: white;
      }
    }
    .uploading{
      width: 103px;
      height: 30px;
      font-size: 16px;
      line-height: 30px;
      color: white;
      background-color: #f29600;
      text-align: center;
      border-radius: 7px;
      margin-left: 560px;
      cursor: pointer;
    }
  }
  .error{
    width: 1200px;
    height: 665px;
    background-color: white;
    margin: 0 auto;
    p{
      width: 500px;
      line-height: 30px;
      font-size: 17px;
      color: #333333;
      padding-left: 250px;
      padding-top: 120px;
    }
    .arrows{
      position: relative;
      left: 755px;
      bottom: 115px;
    }
  }
}
</style>
